package yx.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;

/**
 * BsHobby entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "bs_hobby", catalog = "")
public class BsHobby implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer studentId;
	private String communication;
	private String feature;
	private String diet;
	private String trip;
	private String clothes;
	private String pastime;
	private String lodge;
	private String otherInterest;

	// Constructors

	/** default constructor */
	public BsHobby() {
	}

	/** full constructor */
	public BsHobby(Integer studentId, String communication, String feature, String diet, String trip, String clothes, String pastime, String lodge, String otherInterest) {
		this.studentId = studentId;
		this.communication = communication;
		this.feature = feature;
		this.diet = diet;
		this.trip = trip;
		this.clothes = clothes;
		this.pastime = pastime;
		this.lodge = lodge;
		this.otherInterest = otherInterest;
	}

	// Property accessors
	@GenericGenerator(name = "generator", strategy = "increment")
	@Id
	@GeneratedValue(generator = "generator")
	@Column(name = "ID", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "STUDENT_ID")
	public Integer getStudentId() {
		return this.studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	@Column(name = "COMMUNICATION")
	public String getCommunication() {
		return this.communication;
	}

	public void setCommunication(String communication) {
		this.communication = communication;
	}

	@Column(name = "FEATURE")
	public String getFeature() {
		return feature;
	}

	public void setFeature(String feature) {
		this.feature = feature;
	}

	@Column(name = "DIET")
	public String getDiet() {
		return this.diet;
	}

	public void setDiet(String diet) {
		this.diet = diet;
	}

	@Column(name = "TRIP")
	public String getTrip() {
		return this.trip;
	}

	public void setTrip(String trip) {
		this.trip = trip;
	}

	@Column(name = "CLOTHES")
	public String getClothes() {
		return this.clothes;
	}

	public void setClothes(String clothes) {
		this.clothes = clothes;
	}

	@Column(name = "PASTIME")
	public String getPastime() {
		return this.pastime;
	}

	public void setPastime(String pastime) {
		this.pastime = pastime;
	}

	@Column(name = "LODGE")
	public String getLodge() {
		return this.lodge;
	}

	public void setLodge(String lodge) {
		this.lodge = lodge;
	}

	@Column(name = "OTHER_INTEREST")
	public String getOtherInterest() {
		return this.otherInterest;
	}

	public void setOtherInterest(String otherInterest) {
		this.otherInterest = otherInterest;
	}

}